﻿@model IEnumerable<mylist.domain.Album>
@{
    ViewBag.Title = "Albums";
    Layout = "~/Views/Shared/Mobile/_Layout.cshtml";
}
<h2>
    ViewBag.Title</h2>
<table class="common-table zebra-striped">
    <thead>
        <tr>
            <th>Name</th>
            <th>Artist</th>
            <th>
            </th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Name)
                </td>
                <td>
                    Artist name
                </td>
                <td>
                    @Html.ActionLink("Edit", "Edit", new { id = item.Id }) |
                    @Html.ActionLink("Details", "Details", new { id = item.Id }) |
                    @Html.ActionLink("Delete", "Delete", new { id = item.Id })
                </td>
            </tr>
        }
    </tbody>
</table>
